<template>
    <div>

        <mt-swipe :auto="4000">
            <mt-swipe-item v-for='item in lunbotu' :key='item.id'>
                <img :src="item.img" alt="" :class='{changgeWidth:flag}'>
            </mt-swipe-item>
        </mt-swipe>


    </div>
</template>


<style lang="scss" scoped>
    .mint-swipe{
        height:230px
    }
    .mint-swipe-item{
          text-align: center;
        img {
            // width: 100%;
            height: 100%;
        }
    }
    
    .changgeWidth{
        width: 100%;
    }

</style>

<script>
export default {
    data(){
        return {
            // lunbotu:this.lunbotu
        }
    },
    props:['lunbotu','flag']
}
</script>



